-- GENERATED SPELL FOR [Stormwatcher] --


function spell0_28877(pUnit, Event) --@Call Lightning,n/a--
pUnit:FullCastSpellOnTarget(32018,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_28877', 609, 1)
end

function Sorts_28877(pUnit, Event)
local choix_sorts_28877 = math.random(0, 0)
if choix_sorts_28877 == 0 then
pUnit:RegisterEvent('spell0_28877', 1, 1)
end
end

function mob28877_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_28877', math.random(1500, 3000), 1)
end

function mob28877_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob28877_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob28877_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(28877, 1, 'mob28877_Action')
RegisterUnitEvent(28877, 2, 'mob28877_Leave')
RegisterUnitEvent(28877, 3, 'mob28877_Kill')
RegisterUnitEvent(28877, 4, 'mob28877_Die')
